home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / amos / amoslist-0195.lzh / AMOSLIST / text0044.txt < prev    next >
Encoding:
Text File  |  1995-02-01  |  2.3 KB  |  48 lines

  1. Hello..
  2.  
  3. I hope that someone can help me with my 100s of problems in Amos before
  4. I completely lose my mind!
  5.  
  6. 1) I am writing an adventure game.  The main program is about 100k of
  7. Amos Pro code with another 80k (ish) of data containing all the
  8. locations, objects, moving characters etc.  I have an incredibly large
  9. SET BUFFER command at the beginning (although how big unfortunately
  10. escapes me at the moment - sorry!).  During the game it executes a loop
  11. defined with EVERY 25 PROCmove (or something similar) - ie every 1/2
  12. second it runs a procedure to move the mobiles around the game.  Also
  13. there are several lines such as "If Rnd(25000)=1 Then WEATHER" to
  14. control various random events such as the weather etc..
  15.  
  16. Anyway, when I run it from Amos Pro it works perfectly except that I get
  17. a Guru after several seconds of playing the game.  If I compile it, then
  18. the game does not crash, although in most verbose descriptions it somehow
  19. plonks a great chunk of text in the middle.  The location descriptions are
  20. defined in an array as ROOMS$(LMAX,2) where LMAX is the number of locations.
  21. The first part of it is the brief location and the second the verbose (if
  22. this makes sense...).  However, in any verbose descriptions longer than a few
  23. lines it will insert a random line (or just over) from the LAST verbose
  24. description into it!?
  25.  
  26. I actually sent this program to Europress who looked at it (apparently)
  27. and send it back saying there was nothing wrong with it (!!??).  This is
  28. really pissing me off as I've been writing this game for about a year
  29. now and, although it is crap, it is quite big!  Oh, this is compiling it
  30. WITHOUT using the SQUASHER (or cruncher or whatever they call it)
  31. because if I do I can't remember what happens, but I know it's worse!!
  32.  
  33. Perhaps with all these hundreds of things going on (like random loops
  34. and this EVERY thing) it's all getting a bit bogged down with it all or
  35. something.  God knows.  Anyway, my setup is a standard A1200 (with extra
  36. disk drive in case you're interested) and that's it.  It also does not
  37. work on a standard A500 and A4000/30.
  38.  
  39. Is it me or Amos?  And if it's Amos is there either anything I can do or
  40. has anyone got Francois Lionet's address so I can send him a bomb in the
  41. post?
  42.  
  43. (Sorry this message was so long, I'll leave another message with the
  44. other problems in case this crappy PC crashes)
  45. -- 
  46. Semprini
  47.  
  48.